package com.yinhe.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yinhe.common.annotation.Excel;
import com.yinhe.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 合同对象 yh_contract_second
 * 
 * @author yinhe
 * @date 2022-09-26
 */
public class YhContractSecond extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 协议号 */
    @Excel(name = "协议号")
    private String agreementNo;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String characteristicNum;

    /** 合同关联号 */
    @Excel(name = "合同关联号")
    private String batchNum;

    /** 合同名称 */
    @Excel(name = "合同名称")
    private String contractNo;

    /** 签订时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签订时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signingDate;

    /** 合同匹配产品类型 */
    @Excel(name = "合同匹配产品类型")
    private String productType;

    /** 合同匹配零件类型 */
    @Excel(name = "合同匹配零件类型")
    private String partType;

    /** 数量 */
    @Excel(name = "数量")
    private String quantity;

    /** 计量单位 */
    @Excel(name = "计量单位",dictType = "yh_measurement_unit")
    private String measurementUnit;

    /** 单价 */
    @Excel(name = "单价")
    private String price;

    /** 金额 */
    @Excel(name = "金额")
    private String money;

    /** 交付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryTime;

    /** 交付进度 */
    @Excel(name = "交付进度")
    private String deliverySchedule;

    /** 全部交付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "全部交付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date allDeliveryTime;

    /** 合同总金额 */
    @Excel(name = "合同总金额")
    private String totalContractAmount;

    /** 责任人 */
    @Excel(name = "责任人")
    private String personLiable;

    /** 任务ID */
    @Excel(name = "任务ID")
    private String taskId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String deptId;

    /** 备注1 */
    @Excel(name = "备注1")
    private String note1;

    /** 备注2 */
    @Excel(name = "备注2")
    private String note2;

    /** 备注3 */
    @Excel(name = "备注3")
    private String note3;

    /** 备注4 */
    @Excel(name = "备注4")
    private String note4;

    /** 备注5 */
    @Excel(name = "备注5")
    private String note5;

    /** 备注6 */
    @Excel(name = "备注6")
    private String note6;

    /** 备注7 */
    @Excel(name = "备注7")
    private String note7;

    /** 备注8 */
    @Excel(name = "备注8")
    private String note8;

    /** 备注9 */
    @Excel(name = "备注9")
    private String note9;

    /** 备注10 */
    @Excel(name = "备注10")
    private String note10;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAgreementNo(String agreementNo) 
    {
        this.agreementNo = agreementNo;
    }

    public String getAgreementNo() 
    {
        return agreementNo;
    }
    public void setCharacteristicNum(String characteristicNum) 
    {
        this.characteristicNum = characteristicNum;
    }

    public String getCharacteristicNum() 
    {
        return characteristicNum;
    }
    public void setBatchNum(String batchNum) 
    {
        this.batchNum = batchNum;
    }

    public String getBatchNum() 
    {
        return batchNum;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setSigningDate(Date signingDate) 
    {
        this.signingDate = signingDate;
    }

    public Date getSigningDate() 
    {
        return signingDate;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setPartType(String partType) 
    {
        this.partType = partType;
    }

    public String getPartType() 
    {
        return partType;
    }
    public void setQuantity(String quantity) 
    {
        this.quantity = quantity;
    }

    public String getQuantity() 
    {
        return quantity;
    }
    public void setMeasurementUnit(String measurementUnit) 
    {
        this.measurementUnit = measurementUnit;
    }

    public String getMeasurementUnit() 
    {
        return measurementUnit;
    }
    public void setPrice(String price) 
    {
        this.price = price;
    }

    public String getPrice() 
    {
        return price;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }
    public void setDeliveryTime(Date deliveryTime) 
    {
        this.deliveryTime = deliveryTime;
    }

    public Date getDeliveryTime() 
    {
        return deliveryTime;
    }
    public void setDeliverySchedule(String deliverySchedule) 
    {
        this.deliverySchedule = deliverySchedule;
    }

    public String getDeliverySchedule() 
    {
        return deliverySchedule;
    }
    public void setAllDeliveryTime(Date allDeliveryTime) 
    {
        this.allDeliveryTime = allDeliveryTime;
    }

    public Date getAllDeliveryTime() 
    {
        return allDeliveryTime;
    }
    public void setTotalContractAmount(String totalContractAmount) 
    {
        this.totalContractAmount = totalContractAmount;
    }

    public String getTotalContractAmount() 
    {
        return totalContractAmount;
    }
    public void setPersonLiable(String personLiable) 
    {
        this.personLiable = personLiable;
    }

    public String getPersonLiable() 
    {
        return personLiable;
    }
    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setDeptId(String deptId) 
    {
        this.deptId = deptId;
    }

    public String getDeptId() 
    {
        return deptId;
    }
    public void setNote1(String note1) 
    {
        this.note1 = note1;
    }

    public String getNote1() 
    {
        return note1;
    }
    public void setNote2(String note2) 
    {
        this.note2 = note2;
    }

    public String getNote2() 
    {
        return note2;
    }
    public void setNote3(String note3) 
    {
        this.note3 = note3;
    }

    public String getNote3() 
    {
        return note3;
    }
    public void setNote4(String note4) 
    {
        this.note4 = note4;
    }

    public String getNote4() 
    {
        return note4;
    }
    public void setNote5(String note5) 
    {
        this.note5 = note5;
    }

    public String getNote5() 
    {
        return note5;
    }
    public void setNote6(String note6) 
    {
        this.note6 = note6;
    }

    public String getNote6() 
    {
        return note6;
    }
    public void setNote7(String note7) 
    {
        this.note7 = note7;
    }

    public String getNote7() 
    {
        return note7;
    }
    public void setNote8(String note8) 
    {
        this.note8 = note8;
    }

    public String getNote8() 
    {
        return note8;
    }
    public void setNote9(String note9) 
    {
        this.note9 = note9;
    }

    public String getNote9() 
    {
        return note9;
    }
    public void setNote10(String note10) 
    {
        this.note10 = note10;
    }

    public String getNote10() 
    {
        return note10;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("agreementNo", getAgreementNo())
            .append("characteristicNum", getCharacteristicNum())
            .append("batchNum", getBatchNum())
            .append("contractNo", getContractNo())
            .append("signingDate", getSigningDate())
            .append("productType", getProductType())
            .append("partType", getPartType())
            .append("quantity", getQuantity())
            .append("measurementUnit", getMeasurementUnit())
            .append("price", getPrice())
            .append("money", getMoney())
            .append("deliveryTime", getDeliveryTime())
            .append("deliverySchedule", getDeliverySchedule())
            .append("allDeliveryTime", getAllDeliveryTime())
            .append("totalContractAmount", getTotalContractAmount())
            .append("personLiable", getPersonLiable())
            .append("taskId", getTaskId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("note1", getNote1())
            .append("note2", getNote2())
            .append("note3", getNote3())
            .append("note4", getNote4())
            .append("note5", getNote5())
            .append("note6", getNote6())
            .append("note7", getNote7())
            .append("note8", getNote8())
            .append("note9", getNote9())
            .append("note10", getNote10())
            .toString();
    }
}
